<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Return the integer object handle for given object</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="function.runkit7-method-rename.html">« runkit7_method_rename</a></li>
      <li style="float: right;"><a href="function.runkit7-superglobals.html">runkit7_superglobals »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.runkit7.html">runkit7 函数</a></li>
    <li>Return the integer object handle for given object</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.runkit7-object-id" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">runkit7_object_id</h1>
  <p class="verinfo">(PECL runkit7 &gt;= Unknown)</p><p class="refpurpose"><span class="refname">runkit7_object_id</span> &mdash; <span class="dc-title">
   Return the integer object handle for given object
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.runkit7-object-id-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>runkit7_object_id</strong></span>(<span class="methodparam"><span class="type">object</span> <code class="parameter">$obj</code></span>): <span class="type">int</span></div>

  <p class="para rdfs-comment">
   This function is equivalent to <span class="function"><a href="function.spl-object-id.html" class="function">spl_object_id()</a></span>.
  </p>
  <p class="para">
   This function returns a unique identifier for the object. The object id is
   unique for the lifetime of the object. Once the object is destroyed, its id
   may be reused for other objects. This behavior is similar to
   <span class="function"><a href="function.spl-object-hash.html" class="function">spl_object_hash()</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.runkit7-object-id-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt>
<code class="parameter">obj</code></dt>

    <dd>

     <p class="para">
      Any object. 
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.runkit7-object-id-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   An integer identifier that is unique for each currently existing object and
   is always the same for each object.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.runkit7-object-id-notes">
  <h3 class="title">注释</h3>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <p class="para">
    When an object is destroyed, its id may be reused for other objects.
   </p>
  </p></blockquote>
 </div>
 
 <div class="refsect1 seealso" id="refsect1-function.runkit7-object-id-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.spl-object-id.html" class="function" rel="rdfs-seeAlso">spl_object_id()</a> - Return the integer object handle for given object</span></li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>